package work.konbai.education.service;

import com.baomidou.mybatisplus.extension.service.IService;
import work.konbai.basic.vo.MemberVO;
import work.konbai.education.dto.SignInDTO;
import work.konbai.education.entity.AttendanceDetail;

import java.util.List;

/**
 * 考勤详情信息表 服务类
 *
 * @author KonBAI
 * @version 1.0
 * Create by 2021/3/3 16:22
 */
public interface IAttendanceDetailService extends IService<AttendanceDetail> {

	/**
	 * 分页 考勤详情 未签到
	 *
	 * @param courseId
	 */
	List<MemberVO> signDataList(Long courseId);
	/**
	 * 分页 考勤详情 已签到
	 *
	 * @param attendanceId
	 */
	List<MemberVO> signedList(Long attendanceId);

	/**
	 * 提交考勤签到信息
	 * @param signInDTO
	 * @return
	 */
	boolean signSubmit(SignInDTO signInDTO);
}
